<?php 
require_once("../include/conn.php");
$sql   =   "select   *   from   $tb_mv  order  by   id   DESC";   
$cn_ma   =   mysql_db_query($db_name,$sql);
?>
<html>
<head>
<title>图片新闻管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%"  border="0" cellpadding="0" cellspacing="2">
  <tr class="topbg">
    <th colspan="4">图片新闻管理</th>
  </tr>
  <tr>
    <td width="40%">&nbsp;</td>
    <td width="40%">&nbsp;</td>
    <td width="10%">&nbsp;</td> 
	<td width="10%">&nbsp;</td>
  </tr>
  <tr class="tdbg">
    <td>标题</td>
    <td>链接地址</td>
    <td>图片</td>	
    <td >操作</td>
  </tr>
  <?php
   while($row_ma = mysql_fetch_array($cn_ma))
   {		
	?>
  <tr class="tdbg">
    <td><?php echo $row_ma[title]; ?></td>
    <td><?php echo $row_ma[url]; ?></td>
	<td><?php echo $row_ma[pic]; ?></td>
    <td><a href="move_update.php?id=<?=$row_ma[id];?>">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  </tr>
    <?php }?>  
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
</table>
</body>
</html>
